﻿create proc thuan_qtdanhmucdouutienxoa
@ID int
as
if not exists(select * from DanhMuc_DoUuTien Where DoUuTien=@ID)
begin
select ErrCode=0
end
else
begin
delete from DanhMuc_DoUuTien WHere DoUuTien=@ID
select ErrCode=1
end
